import request from '@/utils/request'

/**
* 子篮清洗记录分页查询
* @param {查询条件} data
*/
export function listCksBasketcleaningrecord(query) {
  return request({
    url: 'business/CksBasketcleaningrecord/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增子篮清洗记录
* @param data
*/
export function addCksBasketcleaningrecord(data) {
  return request({
    url: 'business/CksBasketcleaningrecord',
    method: 'post',
    data: data,
  })
}
/**
* 修改子篮清洗记录
* @param data
*/
export function updateCksBasketcleaningrecord(data) {
  return request({
    url: 'business/CksBasketcleaningrecord',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取子篮清洗记录详情
* @param {Id}
*/
export function getCksBasketcleaningrecord(id) {
  return request({
    url: 'business/CksBasketcleaningrecord/' + id,
    method: 'get'
  })
}

/**
* 删除子篮清洗记录
* @param {主键} pid
*/
export function delCksBasketcleaningrecord(pid) {
  return request({
    url: 'business/CksBasketcleaningrecord/delete/' + pid,
    method: 'delete'
  })
}
